import React from 'react';
import { Tooltip } from 'antd';
import { PrimaryC, PrimaryGhostC, FixedButtonC } from '../../comps';

class FixedButton extends React.Component {
  tiaozhuan = () => {
    window.location.href = 'http://eip.htsc.com.cn/';
  };
  render() {
    return (
      <div style={{ padding: '0 20px' }}>
        <FixedButtonC
          topHtml={<iframe src='http://localhost:7100/about' width='100%' height='400' />}
          bottomHtml={
            <div style={{ width: '100%', textAlign: 'right' }}>
              <PrimaryGhostC title={'取消'} onClick={() => {}}></PrimaryGhostC>
              <PrimaryC title={'确定'} onClick={() => {}}></PrimaryC>
            </div>
          }
        />
      </div>
    );
  }
}

export default FixedButton;
